package com.zm.xiaohashu.count.biz.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 笔记计数表
 * @TableName t_note_count
 */
@TableName(value ="t_note_count")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class NoteCount {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 笔记ID
     */
    private Long noteId;

    /**
     * 获得点赞总数
     */
    private Long likeTotal;

    /**
     * 获得收藏总数
     */
    private Long collectTotal;

    /**
     * 被评论总数
     */
    private Long commentTotal;
}